<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>技术规范文档</title>
<#include "/common/resource_include.ftl">
<link rel="short icon" href="../images/favicon.ico" type="image/x-icon"> 

</head>
<body>

      <div id="editormdTempl" style="display:none">
                 <textarea name="content"   class="editormd-html-textarea"  id="editormdResult" >
                 </textarea>
      </div>

        <script type="text/javascript">
        $('#editormdTempl').hide();
        var tdmPath = "${tdmPath}";
            $(function() {
                var testEditormdView, testEditormdView2;
                $.get(tdmPath+"/editor/examples/test.md", function(markdown) {
				    testEditormdView = editormd.markdownToHTML("editormdTempl", {
	                     syncScrolling : "single",
	                     markdown: markdown ,
	                     imageUpload : true,
	                     imageFormats : ["jpg","jpeg","gif","png","bmp","webp"],
	                     saveHTMLToTextarea : true,
	                     flowChart : true,
	                     fontSize:8,
	                     emoji: true,
	                     sequenceDiagram : true,
	                     htmlDecode : true,
	                     taskList : true,
	                     htmlDecode : "style,script,iframe|on*",
	                     tocm : true,
                    });
                });
                    
              $('#editormdTempl').show();
            });
        </script>
    </body>
</html>